Visual Basic (Declaration) | |
---|---|
Protected Overloads Overridable Function GetFindQuery( _ ByVal selector As Func(Of IQueryable(Of T),IQueryable), _ ByVal predicate As Expression(Of Func(Of T,Boolean)), _ ByVal orderBy As Func(Of IQueryable,IOrderedQueryable), _ ByVal fetchOptions As Action(Of IFetchOptions) _ ) As IdeaBlade.EntityModel.IEntityQuery |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Repository(Of T) Dim selector As Func(Of IQueryable(Of T),IQueryable) Dim predicate As Expression(Of Func(Of T,Boolean)) Dim orderBy As Func(Of IQueryable,IOrderedQueryable) Dim fetchOptions As Action(Of IFetchOptions) Dim value As IdeaBlade.EntityModel.IEntityQuery value = instance.GetFindQuery(selector, predicate, orderBy, fetchOptions) |
C# | |
---|---|
protected virtual IdeaBlade.EntityModel.IEntityQuery GetFindQuery( Func<IQueryable<T>,IQueryable> selector, Expression<Func<T,bool>> predicate, Func<IQueryable,IOrderedQueryable> orderBy, Action<IFetchOptions> fetchOptions ) |
C++/CLI | |
---|---|
protected: virtual IdeaBlade.EntityModel.IEntityQuery^ GetFindQuery( Func<IQueryable<T^>^,IQueryable^>^ selector, Expression<Func<T^,bool>^>^ predicate, Func<IQueryable^,IOrderedQueryable^>^ orderBy, Action<IFetchOptions^>^ fetchOptions ) |
Parameters
- selector
- The selector used to project the entities.
- predicate
- The predicate expression used to qualify the list of objects.
- orderBy
- Sorting function to sort the returned list of objects.
- fetchOptions
- Delegate to specify additional fetching options.
Override to modify the query used to retrieve a list of objects.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family